#ifndef WINDOWSTFT_H
#define WINDOWSTFT_H

#include <QMainWindow>
#include <QApplication>
#include <qmath.h>
#include <QVector>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_plot_magnifier.h>
#include <qwt_plot_panner.h>
#include <qwt_legend.h>
#include "qwt_point_data.h"
#include "plot.h"

namespace Ui {
class WindowSTFT;
}

class WindowSTFT : public QMainWindow
{
    Q_OBJECT

public:
    explicit WindowSTFT(QWidget *parent = 0);
    WindowSTFT(std::vector<std::vector<double> > &matrix ,
                           const double duration, const double LowFreq, const double HighFreq, QWidget *parent);
    ~WindowSTFT();

private:
    Ui::WindowSTFT *ui;
    Plot *plot;
};

#endif // WINDOWSTFT_H
